<!--  -->
<template>
  <div>
    <van-nav-bar title="常见问题" left-text="返回" left-arrow @click-left="onClickLeft"/>
        <van-cell v-for="(item) in article" :key="item.essayId" is-link @click="yo(page,item.essayQuestion)" >
          {{item.essayQuestion}}
        </van-cell>
        
  </div>
</template>

<script>
export default {
name : 'setup_content',
data(){
  return{
    // 文章列表
        article:[],
        page:1
  }
        
},
methods: {
  yo(page,Ques){
    this.$router.push({path:'setup_content_a',query:{page:page,Ques:Ques}})
  },

  onClickLeft(){
    this.$router.push({path:'setup'})
  }

},




created(){
  this.$axios.post('/api/essay/list?page='+this.page).then((res)=>{
   
    this.article=res.data.data
     console.log(this.article)
  }).catch((err)=>{console.log(err)})
}

  }
</script>

<style  scoped>

</style>
